<?php

namespace App\Broadcasting;

use App\Models\User;
use Illuminate\Support\Facades\Log;

class NoticeChannel
{
    public function __construct() {}

    public function join(User $user, string $user_id): array|bool
    {

        return $user->id === (int)$user_id;
    }
}
